import { ScriptEdgeConfType } from '../types'

/**
 * 生成一个各配置项为空的脚本节点边配置对象
 *
 * @returns {ScriptEdgeConfType} 脚本节点边配置对象
 */
export const genScriptEdgeConf = (): ScriptEdgeConfType => {
  return {
    id: '',
    source: '',
    target: '',
    sourceHandle: '',
    targetHandle: '',
    label: '',
    script: ''
  }
}
